      SUBROUTINE SETUP
      RETURN
      END
C   HS55
      BLOCK DATA
      INCLUDE 'BLOCO.INC'
      INTEGER I,J
      DATA NAME /'HS55'/
      DATA (X(I),I=1,6)/1.D0,2.D0,3*0.D0,2.D0/
      DATA N/6/ , NH/6/ , NG/8/
      DATA DEL0/1.00D0/ ,TAU0/1.D0/ ,TAU/.1D0/
      DATA ((GUNIT(I,J),I=1,3),J=0,6)/-1,0,0,-1,0,0,-1,0,0,-1,0,0,
     F     -1,0,0,-1,0,0,-1,0,0/,(GUNIT(1,I),I=7,14)/8*1/,
     F      (GUNIT(2,I),I=7,14)/1,2,3,4,5,6,1,4/,
     F     (GUNIT(3,I),I=7,14)/6*1,2*-1/
      END
      SUBROUTINE EF(X,FX)
      INCLUDE 'FUCO.INC'
      DOUBLE PRECISION X(NX),FX
      ICF=ICF+1
      FX=  X(1)+2.D0*X(2)+4.D0*X(5)+DEXP(X(1)*X(4))
      RETURN
      END
      SUBROUTINE EGRADF(X,GRADF)
      INCLUDE 'FUCO.INC'
      DOUBLE PRECISION X(NX),GRADF(NX)
      ICGF=ICGF+1
      GRADF(1)= 1. D0+ X(4)*DEXP(X(1)*X(4))
      GRADF(2)= 2. D0
      GRADF(3)= 0.D0
      GRADF(4)= X(1)*DEXP(X(1)*X(4))
      GRADF(5)=4.D0
      GRADF(6)=0.D0
      RETURN
      END
      SUBROUTINE EH(I,X,HXI)
      INCLUDE 'FUCO.INC'
      INTEGER I,J
      DOUBLE PRECISION X(NX),B(6,6),RS(6),HXI,S
      SAVE B,RS
      DATA B/1.D0,2.D0,2*0.D0,5.D0,0.D0,3*1.D0,6*0.D0,3*1.D0,1.D0,
     1 2*0.D0,1.D0,3*0.D0,1.D0,2*0.D0,1.D0,3*0.D0,1.D0,2*0.D0,1.D0/
      DATA RS/6.D0,3.D0,2.D0,1.D0,2*2.D0/
      CRES(I)=CRES(I)+1
      S=0.D0
      DO      100       J=1,6
      S=S+B(J,I)*X(J)
  100 CONTINUE
      HXI=S-RS(I)
      RETURN
      END
      SUBROUTINE EGRADH(I,X,GRADHI)
      INCLUDE 'FUCO.INC'
      INTEGER I,J
      DOUBLE PRECISION X(NX),GRADHI(NX),B(6,6)
      SAVE B
      DATA B/1.D0,2.D0,2*0.D0,5.D0,0.D0,3*1.D0,6*0.D0,3*1.D0,1.D0,
     1 2*0.D0,1.D0,3*0.D0,1.D0,2*0.D0,1.D0,3*0.D0,1.D0,2*0.D0,1.D0/
      CGRES(I)=CGRES(I)+1
      DO      100      J=1,6
      GRADHI(J)=B(J,I)
  100 CONTINUE
      RETURN
      END
      SUBROUTINE EG(I,X,GXI)
      INCLUDE 'FUCO.INC'
      INTEGER I
      DOUBLE PRECISION X(NX),GXI
      IF(I.GT.6)      GOTO 100
      GXI=X(I)
      RETURN
  100 CONTINUE
      IF(I .EQ. 7)       GXI= 1.D0- X(1)
      IF(I .EQ. 8)       GXI= 1.D0- X(4)
      RETURN
      END
      SUBROUTINE EGRADG(I,X,GRADGI)
      INCLUDE 'FUCO.INC'
      INTEGER I
      DOUBLE PRECISION X(NX),GRADGI(NX)
      RETURN
      END
